#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time         : 17-12-6 下午2:12
# @Author       : xiaohan
# @File         : get_datas.py
# @desc         :
import re

str = '1d'
ret,index = re.findall("(\d+)(\w)", str)[0]
print(type(ret))
print(ret,index)